home *** CD-ROM | disk | FTP | other *** search
- on checkpackage
- set videonum to EMPTY
- set mh to mouseH()
- set mv to mouseV()
- set mh to mh - 23
- if (mv > 76) and (mv < 259) then
- repeat with n = 1 to 7
- if (mh >= 1) and (mh <= 28) then
- set videonum to n
- end if
- set mh to mh - 40
- end repeat
- else
- if (mv > 268) and (mv < 451) then
- repeat with n = 8 to 14
- if (mh >= 1) and (mh <= 28) then
- set videonum to n
- end if
- set mh to mh - 40
- end repeat
- end if
- end if
- rolloverpackage(videonum)
- end
-
- on rolloverpackage videonum
- if videonum <= 7 then
- set h to ((videonum - 1) * 40) + 23
- set v to 76
- else
- if videonum > 7 then
- set h to ((videonum - 8) * 40) + 23
- set v to 270
- end if
- end if
- puppetSprite(3, 1)
- set the type of sprite 3 to 1
- set the ink of sprite 3 to 0
- set the foreColor of sprite 3 to 255
- set the backColor of sprite 3 to 0
- set castname to "se" & videonum
- set the castNum of sprite 3 to the number of member castname
- set the locH of sprite 3 to h
- set the locV of sprite 3 to v
- updateStage()
- end
-
- on frontbackpackage
- global packagenum, whichview, cursorpointer, cursorwait
- cursor(cursorwait)
- set packagenum to char 3 to 5 of the name of cast the castNum of sprite clickOn()
- if (packagenum = "3") or (packagenum = "7") or (packagenum = "11") then
- unLoad()
- end if
- if whichview = "info" then
- go("main1")
- else
- if whichview = "photo" then
- go(packagenum)
- end if
- end if
- set infopict to "info" & packagenum
- set the picture of cast "info" to the picture of cast infopict
- updateStage()
- cursor(cursorpointer)
- end
-
- on setagainpackage
- global packagenum, whichview, cursorpointer, cursorwait
- cursor(cursorwait)
- if whichview = "info" then
- go("main1")
- else
- if whichview = "photo" then
- go(packagenum)
- end if
- end if
- set infopict to "info" & packagenum
- set the picture of cast "info" to the picture of cast infopict
- updateStage()
- cursor(cursorpointer)
- end
-